Goal

Measure distance between Carnegie Music Hall and UPMC Shadyside by walking

Active Tab

http://10.141.10.6:3000/#map=7/42.896/-75.108

Text Observation (Click to expand/collapse)
RootWebArea 'OpenStreetMap', focused, url='http://10.141.10.6:3000/#map=7/42.896/-75.108'
	banner ''
		heading 'OpenStreetMap logo OpenStreetMap'
			[23] link 'OpenStreetMap logo OpenStreetMap', url='http://10.141.10.6:3000/#map=7/42.896/-75.108'
				image 'OpenStreetMap logo', url='http://10.141.10.6:3000/assets/osm_logo-4afddaae0230a5a46687fdc751ed256dfdccde144118cb02a7d7960f207a4b92.svg'
		navigation ''
			[24] link 'Edit', url='http://10.141.10.6:3000/edit#map=7/42.896/-75.108'
			[25] button ''
			[26] link 'History', url='http://10.141.10.6:3000/history#map=7/42.896/-75.108'
			[27] link 'Export', url='http://10.141.10.6:3000/export#map=7/42.896/-75.108'
		navigation ''
			list ''
				listitem ''
					[30] link 'GPS Traces', url='http://10.141.10.6:3000/traces'
				listitem ''
					[31] link 'User Diaries', url='http://10.141.10.6:3000/diary'
				listitem ''
					[32] link 'Communities', url='http://10.141.10.6:3000/communities'
				listitem ''
					[33] link 'Copyright', url='http://10.141.10.6:3000/copyright'
				listitem ''
					[34] link 'Help', url='http://10.141.10.6:3000/help'
				listitem ''
					[35] link 'About', url='http://10.141.10.6:3000/about'
			[28] link 'Log In', url='http://10.141.10.6:3000/login?referer=%2F#map=7/42.896/-75.108'
			[29] link 'Sign Up', url='http://10.141.10.6:3000/user/new'
	[1] link 'Where is this?', url='http://10.141.10.6:3000/#'
	[2] textbox 'Search', focused
	[3] button 'Go'
	[4] link 'Find directions between two points', url='http://10.141.10.6:3000/directions'
		image '', url='http://10.141.10.6:3000/assets/directions-b08069e78ff09f082d27a7434b49685efa647060cf51a71d74074ad350e3fd66.png'
	heading 'Welcome to OpenStreetMap!'
	[5] button 'Close'
	paragraph ''
		StaticText 'OpenStreetMap is a map of the world, created by people like you and free to use under an open license.'
	paragraph ''
		StaticText 'Hosting is supported by'
		[19] link 'UCL', url='https://www.ucl.ac.uk/'
		StaticText ','
		[20] link 'Fastly', url='https://www.fastly.com/'
		StaticText ','
		[21] link 'Bytemark Hosting', url='https://www.bytemark.co.uk/'
		StaticText ', and other'
		[22] link 'partners', url='https://hardware.openstreetmap.org/thanks/'
		StaticText '.'
	[6] link 'Learn More', url='http://10.141.10.6:3000/about'
	[7] link 'Start Mapping', url='http://10.141.10.6:3000/user/new'
	image '', url='https://tile.openstreetmap.org/7/36/46.png'
	image '', url='https://tile.openstreetmap.org/7/37/46.png'
	image '', url='https://tile.openstreetmap.org/7/36/47.png'
	image '', url='https://tile.openstreetmap.org/7/37/47.png'
	image '', url='https://tile.openstreetmap.org/7/36/45.png'
	image '', url='https://tile.openstreetmap.org/7/37/45.png'
	image '', url='https://tile.openstreetmap.org/7/35/46.png'
	image '', url='https://tile.openstreetmap.org/7/38/46.png'
	image '', url='https://tile.openstreetmap.org/7/35/47.png'
	image '', url='https://tile.openstreetmap.org/7/38/47.png'
	image '', url='https://tile.openstreetmap.org/7/36/48.png'
	image '', url='https://tile.openstreetmap.org/7/37/48.png'
	image '', url='https://tile.openstreetmap.org/7/35/45.png'
	image '', url='https://tile.openstreetmap.org/7/38/45.png'
	image '', url='https://tile.openstreetmap.org/7/35/48.png'
	image '', url='https://tile.openstreetmap.org/7/38/48.png'
	image '', url='https://tile.openstreetmap.org/7/34/46.png'
	image '', url='https://tile.openstreetmap.org/7/39/46.png'
	image '', url='https://tile.openstreetmap.org/7/34/47.png'
	image '', url='https://tile.openstreetmap.org/7/39/47.png'
	image '', url='https://tile.openstreetmap.org/7/34/45.png'
	image '', url='https://tile.openstreetmap.org/7/39/45.png'
	image '', url='https://tile.openstreetmap.org/7/34/48.png'
	image '', url='https://tile.openstreetmap.org/7/39/48.png'
	[8] link 'Zoom In', url='http://10.141.10.6:3000/#'
	[9] link 'Zoom Out', url='http://10.141.10.6:3000/#'
	[10] button 'Show My Location'
	[11] link 'Layers', url='http://10.141.10.6:3000/#'
	[12] link '', url='http://10.141.10.6:3000/#'
	[13] link 'Share', url='http://10.141.10.6:3000/#'
	[14] link '', url='http://10.141.10.6:3000/#'
	[15] link '', url='http://10.141.10.6:3000/#'
	StaticText '50 km'
	StaticText '50 mi'
	StaticText '©'
	[16] link 'OpenStreetMap contributors', url='http://10.141.10.6:3000/copyright'
	StaticText '♥'
	[17] link 'Make a Donation', url='https://donate.openstreetmap.org/'
	StaticText '.'
	[18] link 'Website and API terms', url='https://wiki.osmfoundation.org/wiki/Terms_of_Use'
The current page is OpenStreetMap’s main map view. It includes a “Find directions between two points” link (**id 4**) that leads to the directions tool. No direct way to input start and end points or choose walking mode is currently visible.
To compute walking distance, we need to use the directions tool.  The link id `4` is the only interactive element that opens the directions form.
click('4')

Active Tab

http://10.141.10.6:3000/directions

Text Observation (Click to expand/collapse)
RootWebArea 'OpenStreetMap', focused, url='http://10.141.10.6:3000/directions'
	banner ''
		heading 'OpenStreetMap logo OpenStreetMap'
			[25] link 'OpenStreetMap logo OpenStreetMap', url='http://10.141.10.6:3000/#map=7/42.896/-75.108'
				image 'OpenStreetMap logo', url='http://10.141.10.6:3000/assets/osm_logo-4afddaae0230a5a46687fdc751ed256dfdccde144118cb02a7d7960f207a4b92.svg'
		navigation ''
			[26] link 'Edit', url='http://10.141.10.6:3000/edit#map=7/42.896/-75.108'
			[27] button ''
			[28] link 'History', url='http://10.141.10.6:3000/history#map=7/42.896/-75.108'
			[29] link 'Export', url='http://10.141.10.6:3000/export#map=7/42.896/-75.108'
		navigation ''
			list ''
				listitem ''
					[35] link 'GPS Traces', url='http://10.141.10.6:3000/traces'
				listitem ''
					[36] link 'User Diaries', url='http://10.141.10.6:3000/diary'
				listitem ''
					[37] link 'Communities', url='http://10.141.10.6:3000/communities'
				listitem ''
					[38] link 'Copyright', url='http://10.141.10.6:3000/copyright'
				listitem ''
					[39] link 'Help', url='http://10.141.10.6:3000/help'
				listitem ''
					[40] link 'About', url='http://10.141.10.6:3000/about'
			[30] link 'Log In', url='http://10.141.10.6:3000/login?referer=%2F#map=7/42.896/-75.108'
			[31] link 'Sign Up', url='http://10.141.10.6:3000/user/new'
	[1] button 'Close'
	image '', url='http://10.141.10.6:3000/assets/marker-green-a018589d7f15e3d24bdc172041b6edafa5fbb17aa951d4fec717fcb62361b7e1.png'
	[2] textbox 'From'
	image '', url='http://10.141.10.6:3000/assets/marker-red-839c3d7015788811f3e0d154b69599f099cf8235c036893c61f802ba1a6ccdac.png'
	[3] textbox 'To'
	[4] combobox '' value='Car (OSRM)', hasPopup='menu', expanded=False
		MenuListPopup ''
			[32] option 'Bicycle (OSRM)', selected=False
			[33] option 'Car (OSRM)', selected=True
			[34] option 'Foot (OSRM)', selected=False
	[5] button 'Go'
	[6] button 'Reverse Directions'
	heading 'Welcome to OpenStreetMap!'
	[7] button 'Close'
	paragraph ''
		StaticText 'OpenStreetMap is a map of the world, created by people like you and free to use under an open license.'
	paragraph ''
		StaticText 'Hosting is supported by'
		[21] link 'UCL', url='https://www.ucl.ac.uk/'
		StaticText ','
		[22] link 'Fastly', url='https://www.fastly.com/'
		StaticText ','
		[23] link 'Bytemark Hosting', url='https://www.bytemark.co.uk/'
		StaticText ', and other'
		[24] link 'partners', url='https://hardware.openstreetmap.org/thanks/'
		StaticText '.'
	[8] link 'Learn More', url='http://10.141.10.6:3000/about'
	[9] link 'Start Mapping', url='http://10.141.10.6:3000/user/new'
	image '', url='https://tile.openstreetmap.org/7/36/46.png'
	image '', url='https://tile.openstreetmap.org/7/37/46.png'
	image '', url='https://tile.openstreetmap.org/7/36/47.png'
	image '', url='https://tile.openstreetmap.org/7/37/47.png'
	image '', url='https://tile.openstreetmap.org/7/36/45.png'
	image '', url='https://tile.openstreetmap.org/7/37/45.png'
	image '', url='https://tile.openstreetmap.org/7/35/46.png'
	image '', url='https://tile.openstreetmap.org/7/38/46.png'
	image '', url='https://tile.openstreetmap.org/7/35/47.png'
	image '', url='https://tile.openstreetmap.org/7/38/47.png'
	image '', url='https://tile.openstreetmap.org/7/36/48.png'
	image '', url='https://tile.openstreetmap.org/7/37/48.png'
	image '', url='https://tile.openstreetmap.org/7/35/45.png'
	image '', url='https://tile.openstreetmap.org/7/38/45.png'
	image '', url='https://tile.openstreetmap.org/7/35/48.png'
	image '', url='https://tile.openstreetmap.org/7/38/48.png'
	image '', url='https://tile.openstreetmap.org/7/34/46.png'
	image '', url='https://tile.openstreetmap.org/7/39/46.png'
	image '', url='https://tile.openstreetmap.org/7/34/47.png'
	image '', url='https://tile.openstreetmap.org/7/39/47.png'
	image '', url='https://tile.openstreetmap.org/7/34/45.png'
	image '', url='https://tile.openstreetmap.org/7/39/45.png'
	image '', url='https://tile.openstreetmap.org/7/34/48.png'
	image '', url='https://tile.openstreetmap.org/7/39/48.png'
	[10] link 'Zoom In', url='http://10.141.10.6:3000/directions#'
	[11] link 'Zoom Out', url='http://10.141.10.6:3000/directions#'
	[12] button 'Show My Location'
	[13] link 'Layers', url='http://10.141.10.6:3000/directions#'
	[14] link '', url='http://10.141.10.6:3000/directions#'
	[15] link 'Share', url='http://10.141.10.6:3000/directions#'
	[16] link '', url='http://10.141.10.6:3000/directions#'
	[17] link '', url='http://10.141.10.6:3000/directions#'
	StaticText '50 km'
	StaticText '50 mi'
	StaticText '©'
	[18] link 'OpenStreetMap contributors', url='http://10.141.10.6:3000/copyright'
	StaticText '♥'
	[19] link 'Make a Donation', url='https://donate.openstreetmap.org/'
	StaticText '.'
	[20] link 'Website and API terms', url='https://wiki.osmfoundation.org/wiki/Terms_of_Use'
We are on the OpenStreetMap directions page (http://10.141.10.6:3000/directions). The page shows: - A combobox (id `4`) defaulting to “Car (OSRM)” with option values including “Bicycle (OSRM)”, “Car (OSRM)”, and “Foot (OSRM)”. - Textboxes for the start ('From', id `2`) and end points ('To', id `3`). - A “Go” button (id `5`) to compute the route. No route or distance information is yet displayed.
To compute the walking distance we need to (1) set mode to walking (Foot), (2) enter “Carnegie Music Hall” as the starting point, (3) enter “UPMC Shadyside” as the destination, then (4) submit the request. Selecting mode first ensures the correct routing engine.
select_option('4', 'Foot (OSRM)')

Active Tab

http://10.141.10.6:3000/directions

Text Observation (Click to expand/collapse)
RootWebArea 'OpenStreetMap', focused, url='http://10.141.10.6:3000/directions'
	banner ''
		heading 'OpenStreetMap logo OpenStreetMap'
			[25] link 'OpenStreetMap logo OpenStreetMap', url='http://10.141.10.6:3000/#map=7/42.896/-75.108'
				image 'OpenStreetMap logo', url='http://10.141.10.6:3000/assets/osm_logo-4afddaae0230a5a46687fdc751ed256dfdccde144118cb02a7d7960f207a4b92.svg'
		navigation ''
			[26] link 'Edit', url='http://10.141.10.6:3000/edit#map=7/42.896/-75.108'
			[27] button ''
			[28] link 'History', url='http://10.141.10.6:3000/history#map=7/42.896/-75.108'
			[29] link 'Export', url='http://10.141.10.6:3000/export#map=7/42.896/-75.108'
		navigation ''
			list ''
				listitem ''
					[35] link 'GPS Traces', url='http://10.141.10.6:3000/traces'
				listitem ''
					[36] link 'User Diaries', url='http://10.141.10.6:3000/diary'
				listitem ''
					[37] link 'Communities', url='http://10.141.10.6:3000/communities'
				listitem ''
					[38] link 'Copyright', url='http://10.141.10.6:3000/copyright'
				listitem ''
					[39] link 'Help', url='http://10.141.10.6:3000/help'
				listitem ''
					[40] link 'About', url='http://10.141.10.6:3000/about'
			[30] link 'Log In', url='http://10.141.10.6:3000/login?referer=%2F#map=7/42.896/-75.108'
			[31] link 'Sign Up', url='http://10.141.10.6:3000/user/new'
	[1] button 'Close'
	image '', url='http://10.141.10.6:3000/assets/marker-green-a018589d7f15e3d24bdc172041b6edafa5fbb17aa951d4fec717fcb62361b7e1.png'
	[2] textbox 'From'
	image '', url='http://10.141.10.6:3000/assets/marker-red-839c3d7015788811f3e0d154b69599f099cf8235c036893c61f802ba1a6ccdac.png'
	[3] textbox 'To'
	[4] combobox '' value='Foot (OSRM)', hasPopup='menu', expanded=False
		MenuListPopup ''
			[32] option 'Bicycle (OSRM)', selected=False
			[33] option 'Car (OSRM)', selected=False
			[34] option 'Foot (OSRM)', selected=True
	[5] button 'Go'
	[6] button 'Reverse Directions'
	heading 'Welcome to OpenStreetMap!'
	[7] button 'Close'
	paragraph ''
		StaticText 'OpenStreetMap is a map of the world, created by people like you and free to use under an open license.'
	paragraph ''
		StaticText 'Hosting is supported by'
		[21] link 'UCL', url='https://www.ucl.ac.uk/'
		StaticText ','
		[22] link 'Fastly', url='https://www.fastly.com/'
		StaticText ','
		[23] link 'Bytemark Hosting', url='https://www.bytemark.co.uk/'
		StaticText ', and other'
		[24] link 'partners', url='https://hardware.openstreetmap.org/thanks/'
		StaticText '.'
	[8] link 'Learn More', url='http://10.141.10.6:3000/about'
	[9] link 'Start Mapping', url='http://10.141.10.6:3000/user/new'
	image '', url='https://tile.openstreetmap.org/7/36/46.png'
	image '', url='https://tile.openstreetmap.org/7/37/46.png'
	image '', url='https://tile.openstreetmap.org/7/36/47.png'
	image '', url='https://tile.openstreetmap.org/7/37/47.png'
	image '', url='https://tile.openstreetmap.org/7/36/45.png'
	image '', url='https://tile.openstreetmap.org/7/37/45.png'
	image '', url='https://tile.openstreetmap.org/7/35/46.png'
	image '', url='https://tile.openstreetmap.org/7/38/46.png'
	image '', url='https://tile.openstreetmap.org/7/35/47.png'
	image '', url='https://tile.openstreetmap.org/7/38/47.png'
	image '', url='https://tile.openstreetmap.org/7/36/48.png'
	image '', url='https://tile.openstreetmap.org/7/37/48.png'
	image '', url='https://tile.openstreetmap.org/7/35/45.png'
	image '', url='https://tile.openstreetmap.org/7/38/45.png'
	image '', url='https://tile.openstreetmap.org/7/35/48.png'
	image '', url='https://tile.openstreetmap.org/7/38/48.png'
	image '', url='https://tile.openstreetmap.org/7/34/46.png'
	image '', url='https://tile.openstreetmap.org/7/39/46.png'
	image '', url='https://tile.openstreetmap.org/7/34/47.png'
	image '', url='https://tile.openstreetmap.org/7/39/47.png'
	image '', url='https://tile.openstreetmap.org/7/34/45.png'
	image '', url='https://tile.openstreetmap.org/7/39/45.png'
	image '', url='https://tile.openstreetmap.org/7/34/48.png'
	image '', url='https://tile.openstreetmap.org/7/39/48.png'
	[10] link 'Zoom In', url='http://10.141.10.6:3000/directions#'
	[11] link 'Zoom Out', url='http://10.141.10.6:3000/directions#'
	[12] button 'Show My Location'
	[13] link 'Layers', url='http://10.141.10.6:3000/directions#'
	[14] link '', url='http://10.141.10.6:3000/directions#'
	[15] link 'Share', url='http://10.141.10.6:3000/directions#'
	[16] link '', url='http://10.141.10.6:3000/directions#'
	[17] link '', url='http://10.141.10.6:3000/directions#'
	StaticText '50 km'
	StaticText '50 mi'
	StaticText '©'
	[18] link 'OpenStreetMap contributors', url='http://10.141.10.6:3000/copyright'
	StaticText '♥'
	[19] link 'Make a Donation', url='https://donate.openstreetmap.org/'
	StaticText '.'
	[20] link 'Website and API terms', url='https://wiki.osmfoundation.org/wiki/Terms_of_Use'
The current page is the OpenStreetMap directions page with walking mode selected (`Foot (OSRM)`). - **From** input field has ID `2`. - **To** input field has ID `3`. - **Go** button has ID `5`. No route is yet displayed.
To calculate the walking distance, we must enter the start and destination addresses and then request the route. The next immediate step is to input the starting point.
fill('2', 'Carnegie Music Hall', False)

Active Tab

http://10.141.10.6:3000/directions

Text Observation (Click to expand/collapse)
RootWebArea 'OpenStreetMap', focused, url='http://10.141.10.6:3000/directions'
	banner ''
		heading 'OpenStreetMap logo OpenStreetMap'
			[25] link 'OpenStreetMap logo OpenStreetMap', url='http://10.141.10.6:3000/#map=7/42.896/-75.108'
				image 'OpenStreetMap logo', url='http://10.141.10.6:3000/assets/osm_logo-4afddaae0230a5a46687fdc751ed256dfdccde144118cb02a7d7960f207a4b92.svg'
		navigation ''
			[26] link 'Edit', url='http://10.141.10.6:3000/edit#map=7/42.896/-75.108'
			[27] button ''
			[28] link 'History', url='http://10.141.10.6:3000/history#map=7/42.896/-75.108'
			[29] link 'Export', url='http://10.141.10.6:3000/export#map=7/42.896/-75.108'
		navigation ''
			list ''
				listitem ''
					[35] link 'GPS Traces', url='http://10.141.10.6:3000/traces'
				listitem ''
					[36] link 'User Diaries', url='http://10.141.10.6:3000/diary'
				listitem ''
					[37] link 'Communities', url='http://10.141.10.6:3000/communities'
				listitem ''
					[38] link 'Copyright', url='http://10.141.10.6:3000/copyright'
				listitem ''
					[39] link 'Help', url='http://10.141.10.6:3000/help'
				listitem ''
					[40] link 'About', url='http://10.141.10.6:3000/about'
			[30] link 'Log In', url='http://10.141.10.6:3000/login?referer=%2F#map=7/42.896/-75.108'
			[31] link 'Sign Up', url='http://10.141.10.6:3000/user/new'
	[1] button 'Close'
	image '', url='http://10.141.10.6:3000/assets/marker-green-a018589d7f15e3d24bdc172041b6edafa5fbb17aa951d4fec717fcb62361b7e1.png'
	[2] textbox 'From' value='Carnegie Music Hall', focused
		StaticText 'Carnegie Music Hall'
	image '', url='http://10.141.10.6:3000/assets/marker-red-839c3d7015788811f3e0d154b69599f099cf8235c036893c61f802ba1a6ccdac.png'
	[3] textbox 'To'
	[4] combobox '' value='Foot (OSRM)', hasPopup='menu', expanded=False
		MenuListPopup ''
			[32] option 'Bicycle (OSRM)', selected=False
			[33] option 'Car (OSRM)', selected=False
			[34] option 'Foot (OSRM)', selected=True
	[5] button 'Go'
	[6] button 'Reverse Directions'
	heading 'Welcome to OpenStreetMap!'
	[7] button 'Close'
	paragraph ''
		StaticText 'OpenStreetMap is a map of the world, created by people like you and free to use under an open license.'
	paragraph ''
		StaticText 'Hosting is supported by'
		[21] link 'UCL', url='https://www.ucl.ac.uk/'
		StaticText ','
		[22] link 'Fastly', url='https://www.fastly.com/'
		StaticText ','
		[23] link 'Bytemark Hosting', url='https://www.bytemark.co.uk/'
		StaticText ', and other'
		[24] link 'partners', url='https://hardware.openstreetmap.org/thanks/'
		StaticText '.'
	[8] link 'Learn More', url='http://10.141.10.6:3000/about'
	[9] link 'Start Mapping', url='http://10.141.10.6:3000/user/new'
	image '', url='https://tile.openstreetmap.org/7/36/46.png'
	image '', url='https://tile.openstreetmap.org/7/37/46.png'
	image '', url='https://tile.openstreetmap.org/7/36/47.png'
	image '', url='https://tile.openstreetmap.org/7/37/47.png'
	image '', url='https://tile.openstreetmap.org/7/36/45.png'
	image '', url='https://tile.openstreetmap.org/7/37/45.png'
	image '', url='https://tile.openstreetmap.org/7/35/46.png'
	image '', url='https://tile.openstreetmap.org/7/38/46.png'
	image '', url='https://tile.openstreetmap.org/7/35/47.png'
	image '', url='https://tile.openstreetmap.org/7/38/47.png'
	image '', url='https://tile.openstreetmap.org/7/36/48.png'
	image '', url='https://tile.openstreetmap.org/7/37/48.png'
	image '', url='https://tile.openstreetmap.org/7/35/45.png'
	image '', url='https://tile.openstreetmap.org/7/38/45.png'
	image '', url='https://tile.openstreetmap.org/7/35/48.png'
	image '', url='https://tile.openstreetmap.org/7/38/48.png'
	image '', url='https://tile.openstreetmap.org/7/34/46.png'
	image '', url='https://tile.openstreetmap.org/7/39/46.png'
	image '', url='https://tile.openstreetmap.org/7/34/47.png'
	image '', url='https://tile.openstreetmap.org/7/39/47.png'
	image '', url='https://tile.openstreetmap.org/7/34/45.png'
	image '', url='https://tile.openstreetmap.org/7/39/45.png'
	image '', url='https://tile.openstreetmap.org/7/34/48.png'
	image '', url='https://tile.openstreetmap.org/7/39/48.png'
	[10] link 'Zoom In', url='http://10.141.10.6:3000/directions#'
	[11] link 'Zoom Out', url='http://10.141.10.6:3000/directions#'
	[12] button 'Show My Location'
	[13] link 'Layers', url='http://10.141.10.6:3000/directions#'
	[14] link '', url='http://10.141.10.6:3000/directions#'
	[15] link 'Share', url='http://10.141.10.6:3000/directions#'
	[16] link '', url='http://10.141.10.6:3000/directions#'
	[17] link '', url='http://10.141.10.6:3000/directions#'
	StaticText '50 km'
	StaticText '50 mi'
	StaticText '©'
	[18] link 'OpenStreetMap contributors', url='http://10.141.10.6:3000/copyright'
	StaticText '♥'
	[19] link 'Make a Donation', url='https://donate.openstreetmap.org/'
	StaticText '.'
	[20] link 'Website and API terms', url='https://wiki.osmfoundation.org/wiki/Terms_of_Use'
The directions form is visible. The "From" textbox (id `2`) already contains the starting point “Carnegie Music Hall”. The "To" textbox (id `3`) is empty. The mode is set to walking ("Foot (OSRM)"), and the "Go" button (id `5`) is present but has not been activated yet.
To calculate the walking distance between Carnegie Music Hall and UPMC Shadyside, the destination must be entered and the route requested. The form is ready for submission, so the next step is to fill in the "To" field with the destination address.
fill('3', 'UPMC Shadyside', False)

Active Tab

http://10.141.10.6:3000/directions

Text Observation (Click to expand/collapse)
RootWebArea 'OpenStreetMap', focused, url='http://10.141.10.6:3000/directions'
	banner ''
		heading 'OpenStreetMap logo OpenStreetMap'
			[26] link 'OpenStreetMap logo OpenStreetMap', url='http://10.141.10.6:3000/#map=7/42.896/-75.108'
				image 'OpenStreetMap logo', url='http://10.141.10.6:3000/assets/osm_logo-4afddaae0230a5a46687fdc751ed256dfdccde144118cb02a7d7960f207a4b92.svg'
		navigation ''
			[27] link 'Edit', url='http://10.141.10.6:3000/edit#map=7/42.896/-75.108'
			[28] button ''
			[29] link 'History', url='http://10.141.10.6:3000/history#map=7/42.896/-75.108'
			[30] link 'Export', url='http://10.141.10.6:3000/export#map=7/42.896/-75.108'
		navigation ''
			list ''
				listitem ''
					[36] link 'GPS Traces', url='http://10.141.10.6:3000/traces'
				listitem ''
					[37] link 'User Diaries', url='http://10.141.10.6:3000/diary'
				listitem ''
					[38] link 'Communities', url='http://10.141.10.6:3000/communities'
				listitem ''
					[39] link 'Copyright', url='http://10.141.10.6:3000/copyright'
				listitem ''
					[40] link 'Help', url='http://10.141.10.6:3000/help'
				listitem ''
					[41] link 'About', url='http://10.141.10.6:3000/about'
			[31] link 'Log In', url='http://10.141.10.6:3000/login?referer=%2F#map=7/42.896/-75.108'
			[32] link 'Sign Up', url='http://10.141.10.6:3000/user/new'
	[1] button 'Close'
	image '', url='http://10.141.10.6:3000/assets/marker-green-a018589d7f15e3d24bdc172041b6edafa5fbb17aa951d4fec717fcb62361b7e1.png'
	[2] textbox 'From' value='Carnegie Music Hall, Forbes Avenue, North Oakland, Pittsburgh, Allegheny County, 15213, United States'
		StaticText 'Carnegie Music Hall, Forbes Avenue, North Oakland, Pittsburgh, Allegheny County, 15213, United States'
	image '', url='http://10.141.10.6:3000/assets/marker-red-839c3d7015788811f3e0d154b69599f099cf8235c036893c61f802ba1a6ccdac.png'
	[3] textbox 'To' value='UPMC Shadyside', focused
		StaticText 'UPMC Shadyside'
	[4] combobox '' value='Foot (OSRM)', hasPopup='menu', expanded=False
		MenuListPopup ''
			[33] option 'Bicycle (OSRM)', selected=False
			[34] option 'Car (OSRM)', selected=False
			[35] option 'Foot (OSRM)', selected=True
	[5] button 'Go'
	[6] button 'Reverse Directions'
	heading 'Welcome to OpenStreetMap!'
	[7] button 'Close'
	paragraph ''
		StaticText 'OpenStreetMap is a map of the world, created by people like you and free to use under an open license.'
	paragraph ''
		StaticText 'Hosting is supported by'
		[22] link 'UCL', url='https://www.ucl.ac.uk/'
		StaticText ','
		[23] link 'Fastly', url='https://www.fastly.com/'
		StaticText ','
		[24] link 'Bytemark Hosting', url='https://www.bytemark.co.uk/'
		StaticText ', and other'
		[25] link 'partners', url='https://hardware.openstreetmap.org/thanks/'
		StaticText '.'
	[8] link 'Learn More', url='http://10.141.10.6:3000/about'
	[9] link 'Start Mapping', url='http://10.141.10.6:3000/user/new'
	image '', url='https://tile.openstreetmap.org/7/36/46.png'
	image '', url='https://tile.openstreetmap.org/7/37/46.png'
	image '', url='https://tile.openstreetmap.org/7/36/47.png'
	image '', url='https://tile.openstreetmap.org/7/37/47.png'
	image '', url='https://tile.openstreetmap.org/7/36/45.png'
	image '', url='https://tile.openstreetmap.org/7/37/45.png'
	image '', url='https://tile.openstreetmap.org/7/35/46.png'
	image '', url='https://tile.openstreetmap.org/7/38/46.png'
	image '', url='https://tile.openstreetmap.org/7/35/47.png'
	image '', url='https://tile.openstreetmap.org/7/38/47.png'
	image '', url='https://tile.openstreetmap.org/7/36/48.png'
	image '', url='https://tile.openstreetmap.org/7/37/48.png'
	image '', url='https://tile.openstreetmap.org/7/35/45.png'
	image '', url='https://tile.openstreetmap.org/7/38/45.png'
	image '', url='https://tile.openstreetmap.org/7/35/48.png'
	image '', url='https://tile.openstreetmap.org/7/38/48.png'
	image '', url='https://tile.openstreetmap.org/7/34/46.png'
	image '', url='https://tile.openstreetmap.org/7/39/46.png'
	image '', url='https://tile.openstreetmap.org/7/34/47.png'
	image '', url='https://tile.openstreetmap.org/7/39/47.png'
	image '', url='https://tile.openstreetmap.org/7/34/45.png'
	image '', url='https://tile.openstreetmap.org/7/39/45.png'
	image '', url='https://tile.openstreetmap.org/7/34/48.png'
	image '', url='https://tile.openstreetmap.org/7/39/48.png'
	image '', url='http://10.141.10.6:3000/assets/leaflet/dist/images/marker-shadow-a2d94406ba198f61f68a71ed8f9f9c701122c0c33b775d990edceae4aece567f.png'
	[10] button 'Marker'
	[11] link 'Zoom In', url='http://10.141.10.6:3000/directions#'
	[12] link 'Zoom Out', url='http://10.141.10.6:3000/directions#'
	[13] button 'Show My Location'
	[14] link 'Layers', url='http://10.141.10.6:3000/directions#'
	[15] link '', url='http://10.141.10.6:3000/directions#'
	[16] link 'Share', url='http://10.141.10.6:3000/directions#'
	[17] link '', url='http://10.141.10.6:3000/directions#'
	[18] link '', url='http://10.141.10.6:3000/directions#'
	StaticText '50 km'
	StaticText '50 mi'
	StaticText '©'
	[19] link 'OpenStreetMap contributors', url='http://10.141.10.6:3000/copyright'
	StaticText '♥'
	[20] link 'Make a Donation', url='https://donate.openstreetmap.org/'
	StaticText '.'
	[21] link 'Website and API terms', url='https://wiki.osmfoundation.org/wiki/Terms_of_Use'
The current page is the OpenStreetMap directions interface. The “From” field (id `2`) already contains “Carnegie Music Hall, Forbes Avenue, North Oakland, Pittsburgh, Allegheny County, 15213, United States”. The “To” field (id `3`) contains “UPMC Shadyside.” The transport mode is set to “Foot (OSRM)”. A button with id `5` labeled “Go” is present and ready to be pressed to calculate the walking route.
To obtain the walking distance we must request the route by activating the “Go” button. After the route is displayed the distance will appear in the route summary, allowing the task to be completed.
click('5')

Active Tab

http://10.141.10.6:3000/directions?engine=fossgis_osrm_foot&route=40.443%2C-79.951%3B40.455%2C-79.940#map=15/40.4496/-79.9457

Text Observation (Click to expand/collapse)
RootWebArea 'OpenStreetMap', focused, url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_foot&route=40.443%2C-79.951%3B40.455%2C-79.940#map=15/40.4496/-79.9457'
	banner ''
		heading 'OpenStreetMap logo OpenStreetMap'
			[22] link 'OpenStreetMap logo OpenStreetMap', url='http://10.141.10.6:3000/#map=15/40.4496/-79.9457'
				image 'OpenStreetMap logo', url='http://10.141.10.6:3000/assets/osm_logo-4afddaae0230a5a46687fdc751ed256dfdccde144118cb02a7d7960f207a4b92.svg'
		navigation ''
			[23] link 'Edit', url='http://10.141.10.6:3000/edit#map=15/40.4496/-79.9457'
			[24] button ''
			[25] link 'History', url='http://10.141.10.6:3000/history#map=15/40.4496/-79.9457'
			[26] link 'Export', url='http://10.141.10.6:3000/export#map=15/40.4496/-79.9457'
		navigation ''
			list ''
				listitem ''
					[32] link 'GPS Traces', url='http://10.141.10.6:3000/traces'
				listitem ''
					[33] link 'User Diaries', url='http://10.141.10.6:3000/diary'
				listitem ''
					[34] link 'Communities', url='http://10.141.10.6:3000/communities'
				listitem ''
					[35] link 'Copyright', url='http://10.141.10.6:3000/copyright'
				listitem ''
					[36] link 'Help', url='http://10.141.10.6:3000/help'
				listitem ''
					[37] link 'About', url='http://10.141.10.6:3000/about'
			[27] link 'Log In', url='http://10.141.10.6:3000/login?referer=%2F#map=15/40.4496/-79.9457'
			[28] link 'Sign Up', url='http://10.141.10.6:3000/user/new'
	[1] button 'Close'
	image '', url='http://10.141.10.6:3000/assets/marker-green-a018589d7f15e3d24bdc172041b6edafa5fbb17aa951d4fec717fcb62361b7e1.png'
	[2] textbox 'From' value='Carnegie Music Hall, Forbes Avenue, North Oakland, Pittsburgh, Allegheny County, 15213, United States'
		StaticText 'Carnegie Music Hall, Forbes Avenue, North Oakland, Pittsburgh, Allegheny County, 15213, United States'
	image '', url='http://10.141.10.6:3000/assets/marker-red-839c3d7015788811f3e0d154b69599f099cf8235c036893c61f802ba1a6ccdac.png'
	[3] textbox 'To' value='UPMC Shadyside, 5230, Centre Avenue, Shadyside, Pittsburgh, Allegheny County, 15232, United States'
		StaticText 'UPMC Shadyside, 5230, Centre Avenue, Shadyside, Pittsburgh, Allegheny County, 15232, United States'
	[4] combobox '' value='Foot (OSRM)', hasPopup='menu', expanded=False
		MenuListPopup ''
			[29] option 'Bicycle (OSRM)', selected=False
			[30] option 'Car (OSRM)', selected=False
			[31] option 'Foot (OSRM)', selected=True
	[5] button 'Go', focused
	[6] button 'Reverse Directions'
	heading 'Directions'
	[7] button 'Close'
	paragraph ''
		StaticText 'Distance: 2.2km. Time: 0:29.'
	table ''
		row ''
			cell ''
			cell '1. Start on unnamed road'
			cell '10m'
		row ''
			cell ''
			cell '2. Turn right onto unnamed road'
			cell '30m'
		row ''
			cell ''
			cell '3. Turn left onto unnamed road'
			cell '20m'
		row ''
			cell ''
			cell '4. At the end of the road turn right onto unnamed road'
			cell '300m'
		row ''
			cell ''
			cell '5. At the end of the road turn left onto unnamed road'
			cell '10m'
		row ''
			cell ''
			cell '6. Turn right onto unnamed road'
			cell '20m'
		row ''
			cell ''
			cell '7. At the end of the road turn right onto unnamed road'
			cell ''
		row ''
			cell ''
			cell '8. Turn left onto unnamed road'
			cell '200m'
		row ''
			cell ''
			cell '9. At the end of the road turn right onto unnamed road'
			cell '130m'
		row ''
			cell ''
			cell '10. At the end of the road turn left onto unnamed road'
			cell '20m'
		row ''
			cell ''
			cell '11. Turn right onto unnamed road'
			cell '90m'
		row ''
			cell ''
			cell '12. Turn left onto unnamed road'
			cell '200m'
		row ''
			cell ''
			cell '13. Turn right onto unnamed road'
			cell '140m'
		row ''
			cell ''
			cell '14. At the end of the road turn right onto unnamed road'
			cell '500m'
		row ''
			cell ''
			cell '15. Turn left onto Centre Avenue'
			cell '400m'
		row ''
			cell ''
			cell '16. Turn right onto unnamed road'
			cell '20m'
		row ''
			cell ''
			cell '17. Reach destination'
			cell ''
	paragraph ''
		StaticText 'Directions courtesy of'
		[21] link 'OSRM (FOSSGIS)', url='https://routing.openstreetmap.de/about.html'
	image '', url='https://tile.openstreetmap.org/15/9106/12351.png'
	image '', url='https://tile.openstreetmap.org/15/9107/12351.png'
	image '', url='https://tile.openstreetmap.org/15/9106/12350.png'
	image '', url='https://tile.openstreetmap.org/15/9107/12350.png'
	image '', url='https://tile.openstreetmap.org/15/9106/12352.png'
	image '', url='https://tile.openstreetmap.org/15/9107/12352.png'
	image '', url='https://tile.openstreetmap.org/15/9105/12351.png'
	image '', url='https://tile.openstreetmap.org/15/9108/12351.png'
	image '', url='https://tile.openstreetmap.org/15/9105/12350.png'
	image '', url='https://tile.openstreetmap.org/15/9108/12350.png'
	image '', url='https://tile.openstreetmap.org/15/9105/12352.png'
	image '', url='https://tile.openstreetmap.org/15/9108/12352.png'
	image '', url='http://10.141.10.6:3000/assets/leaflet/dist/images/marker-shadow-a2d94406ba198f61f68a71ed8f9f9c701122c0c33b775d990edceae4aece567f.png'
	image '', url='http://10.141.10.6:3000/assets/leaflet/dist/images/marker-shadow-a2d94406ba198f61f68a71ed8f9f9c701122c0c33b775d990edceae4aece567f.png'
	[8] button 'Marker'
	[9] button 'Marker'
	[10] link 'Zoom In', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_foot&route=40.443%2C-79.951%3B40.455%2C-79.940#'
	[11] link 'Zoom Out', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_foot&route=40.443%2C-79.951%3B40.455%2C-79.940#'
	[12] button 'Show My Location'
	[13] link 'Layers', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_foot&route=40.443%2C-79.951%3B40.455%2C-79.940#'
	[14] link '', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_foot&route=40.443%2C-79.951%3B40.455%2C-79.940#'
	[15] link 'Share', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_foot&route=40.443%2C-79.951%3B40.455%2C-79.940#'
	[16] link '', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_foot&route=40.443%2C-79.951%3B40.455%2C-79.940#'
	[17] link '', url='http://10.141.10.6:3000/directions?engine=fossgis_osrm_foot&route=40.443%2C-79.951%3B40.455%2C-79.940#'
	StaticText '300 m'
	StaticText '1000 ft'
	StaticText '©'
	[18] link 'OpenStreetMap contributors', url='http://10.141.10.6:3000/copyright'
	StaticText '♥'
	[19] link 'Make a Donation', url='https://donate.openstreetmap.org/'
	StaticText '.'
	[20] link 'Website and API terms', url='https://wiki.osmfoundation.org/wiki/Terms_of_Use'
The route summary shows: **Distance: 2.2km. Time: 0:29.** This confirms the walking distance between Carnegie Music Hall and UPMC Shadyside.
The distance is already calculated and displayed on the page; no further actions are needed.
stop('The walking distance between Carnegie Music Hall and UPMC Shadyside is 2.2 km.')